package com.ruoyi.framework.security.web.authentication;

import lombok.extern.slf4j.Slf4j;
import org.springframework.security.authentication.AuthenticationDetailsSource;

import javax.servlet.http.HttpServletRequest;

@Slf4j
public class CustWebAuthenticationDetailsSource implements AuthenticationDetailsSource<HttpServletRequest, CustWebAuthenticationDetails> {


    @Override
    public CustWebAuthenticationDetails buildDetails(HttpServletRequest context) {
        return new CustWebAuthenticationDetails(context);
    }
}
